/*用户信息接口*/
import request from "@/utils/request";

//获取全部用户个人信息
export function getAllUserInfo(data){
    return request({
        url:'/user/getAllUserInfo',
        method:'post',
        data
    })
}


//修改用户个人基本信息
export function updateUser_Basic(data){
    return request({
        url:'/user/updateUser_Basic',
        method:'post',
        data
    })
}

//删除用户
export function deleteUserByUserID(data){
    return request({
        url:'/user/deleteUserByUserID',
        method:'post',
        data
    })
}

//修改用户账户信息
export function updateUserAccountByAdmin(data){
    return request({
        url:'/user/updateUserAccountByAdmin',
        method:'post',
        data
    })
}

//添加用户
export function register(data){
    return request({
        url:'/login/register',
        method:'post',
        data
    })
}

//修改用户身份验证信息
export function updateUserIdentityByAdmin(data){
    return request({
        url:'/user/updateUserIdentityByAdmin',
        method:'post',
        data
    })
}

//审核用户
export function updateCheckByUserId(data){
    return request({
        url:'/user/updateCheckByUserId',
        method:'post',
        data
    })
}

//批量删除用户
export function deleteMutipleUser(data){
    return request({
        url:'/user/deleteMutipleUser',
        method:'post',
        data
    })
}

//获取用户数量
export function getUserCnt(data){
    return request({
        url:'/user/getUserCnt',
        method:'post',
        data
    })
}
